package com.agm.android.fragments;

import java.util.Locale;

import com.example.android.navigationdrawerexample.R;

import android.os.Bundle;
import android.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;

public class FormazioneFragment extends Fragment {
	public static final String ARG_PLANET_NUMBER = "planet_number";

	public FormazioneFragment() {
		// Empty constructor required for fragment subclasses
	}

	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container,Bundle savedInstanceState) {
		View rootView = inflater.inflate(R.layout.fragment_formazione, container,
				false);
//		int i = getArguments().getInt(ARG_PLANET_NUMBER);
//		String planet = getResources().getStringArray(R.array.navig_array)[i];
//
//		int imageId = getResources().getIdentifier(planet.toLowerCase(Locale.getDefault()), "drawable",getActivity().getPackageName());
//		((ImageView) rootView.findViewById(R.id.image)).setImageResource(imageId);
//		getActivity().setTitle(planet);
		return rootView;
	}
}
